.class Lcom/zuiapps/common/feedback/ConversationActivity$4;
.super Ljava/lang/Object;
.source "ConversationActivity.java"

# interfaces
.implements Landroid/text/TextWatcher;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/zuiapps/common/feedback/ConversationActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/zuiapps/common/feedback/ConversationActivity;


# direct methods
.method constructor <init>(Lcom/zuiapps/common/feedback/ConversationActivity;)V
    .registers 2
    .param p1, "this$0"    # Lcom/zuiapps/common/feedback/ConversationActivity;

    .prologue
    .line 117
    iput-object p1, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public afterTextChanged(Landroid/text/Editable;)V
    .registers 6
    .param p1, "s"    # Landroid/text/Editable;

    .prologue
    .line 131
    iget-object v1, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    # getter for: Lcom/zuiapps/common/feedback/ConversationActivity;->userReplyContentEdit:Landroid/widget/EditText;
    invoke-static {v1}, Lcom/zuiapps/common/feedback/ConversationActivity;->access$000(Lcom/zuiapps/common/feedback/ConversationActivity;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    .line 132
    .local v0, "replyContent":Ljava/lang/String;
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_39

    .line 133
    iget-object v1, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    # getter for: Lcom/zuiapps/common/feedback/ConversationActivity;->sendButton:Landroid/widget/Button;
    invoke-static {v1}, Lcom/zuiapps/common/feedback/ConversationActivity;->access$400(Lcom/zuiapps/common/feedback/ConversationActivity;)Landroid/widget/Button;

    move-result-object v1

    sget v2, Lcom/zuiapps/common/feedback/R$drawable;->umeng_fb_button2_white_normal:I

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 134
    iget-object v1, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    # getter for: Lcom/zuiapps/common/feedback/ConversationActivity;->sendButton:Landroid/widget/Button;
    invoke-static {v1}, Lcom/zuiapps/common/feedback/ConversationActivity;->access$400(Lcom/zuiapps/common/feedback/ConversationActivity;)Landroid/widget/Button;

    move-result-object v1

    iget-object v2, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    invoke-virtual {v2}, Lcom/zuiapps/common/feedback/ConversationActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/zuiapps/common/feedback/R$color;->light_gray:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setTextColor(I)V

    .line 139
    :goto_38
    return-void

    .line 136
    :cond_39
    iget-object v1, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    # getter for: Lcom/zuiapps/common/feedback/ConversationActivity;->sendButton:Landroid/widget/Button;
    invoke-static {v1}, Lcom/zuiapps/common/feedback/ConversationActivity;->access$400(Lcom/zuiapps/common/feedback/ConversationActivity;)Landroid/widget/Button;

    move-result-object v1

    sget v2, Lcom/zuiapps/common/feedback/R$drawable;->umeng_fb_blue_btn_selector:I

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setBackgroundResource(I)V

    .line 137
    iget-object v1, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    # getter for: Lcom/zuiapps/common/feedback/ConversationActivity;->sendButton:Landroid/widget/Button;
    invoke-static {v1}, Lcom/zuiapps/common/feedback/ConversationActivity;->access$400(Lcom/zuiapps/common/feedback/ConversationActivity;)Landroid/widget/Button;

    move-result-object v1

    iget-object v2, p0, Lcom/zuiapps/common/feedback/ConversationActivity$4;->this$0:Lcom/zuiapps/common/feedback/ConversationActivity;

    invoke-virtual {v2}, Lcom/zuiapps/common/feedback/ConversationActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v2

    const v3, 0x106000b

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getColor(I)I

    move-result v2

    invoke-virtual {v1, v2}, Landroid/widget/Button;->setTextColor(I)V

    goto :goto_38
.end method

.method public beforeTextChanged(Ljava/lang/CharSequence;III)V
    .registers 5
    .param p1, "s"    # Ljava/lang/CharSequence;
    .param p2, "start"    # I
    .param p3, "count"    # I
    .param p4, "after"    # I

    .prologue
    .line 127
    return-void
.end method

.method public onTextChanged(Ljava/lang/CharSequence;III)V
    .registers 5
    .param p1, "s"    # Ljava/lang/CharSequence;
    .param p2, "start"    # I
    .param p3, "before"    # I
    .param p4, "count"    # I

    .prologue
    .line 122
    return-void
.end method
